package com.yzy.soft.system.freemarker.result;

public enum ResultCode {

	/** �ɹ� */
	SUCCESS("200", "�ɹ�"),

	/** û�е�¼ */
	NOT_LOGIN("400", "û�е�¼"),
	
	/** �����쳣 */
	EXCEPTION("401", "�����쳣"),

	/** ϵͳ���� */
	SYS_ERROR("402", "ϵͳ����"),

	/** �������� */
	PARAMS_ERROR("403", "�������� "),

	/** ��֧�ֻ��Ѿ����� */
	NOT_SUPPORTED("410", "��֧�ֻ��Ѿ�����"),

	/** AuthCode���� */
	INVALID_AUTHCODE("444", "��Ч��AuthCode"),

	/** ̫Ƶ���ĵ��� */
	TOO_FREQUENT("445", "̫Ƶ���ĵ���"),

	/** δ֪�Ĵ��� */
	UNKNOWN_ERROR("499", "δ֪����");

	private ResultCode(String value, String msg) {
		this.val = value;
		this.msg = msg;
	}

	public String val() {
		return val;
	}

	public String msg() {
		return msg;
	}

	private String val;

	private String msg;

}
